package com.cdtye.itps.cms.dao.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

public enum ElectrificationEnum {
    ELECTRICAL("E", "电气化"),
    VAPORIZATION("V", "非电气化");

    @EnumValue
    public final String value;
    @JsonValue
    public final String text;

    public String getValue() {
        return this.value;
    }

    public String getText() {
        return this.text;
    }

    private ElectrificationEnum(String value, String text) {
        this.value = value;
        this.text = text;
    }
}
